home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 1998 November / IRIX 6.5.2 Base Documentation November 1998.img / usr / share / catman / g_man / cat3 / OpenGL-GLC / glcgetfontlistc.z / glcgetfontlistc
Text File  |  1998-10-20  |  4KB  |  67 lines

  1.  
  2.  
  3.  
  4. ggggllllccccGGGGeeeettttFFFFoooonnnnttttLLLLiiiissssttttcccc((((3333GGGG))))       OOOOppppeeeennnnGGGGLLLL CCCChhhhaaaarrrraaaacccctttteeeerrrr RRRReeeennnnddddeeeerrrreeeerrrr        ggggllllccccGGGGeeeettttFFFFoooonnnnttttLLLLiiiissssttttcccc((((3333GGGG))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      ggggllllccccGGGGeeeettttFFFFoooonnnnttttLLLLiiiissssttttcccc - return an attribute of a font
  10.  
  11.  
  12. CCCC SSSSPPPPEEEECCCCIIIIFFFFIIIICCCCAAAATTTTIIIIOOOONNNN
  13.      const GLCchar* ggggllllccccGGGGeeeettttFFFFoooonnnnttttLLLLiiiissssttttcccc( GLint _i_n_F_o_n_t,
  14.                                      GLCenum _i_n_A_t_t_r_i_b,
  15.                                      GLint _i_n_I_n_d_e_x )
  16.  
  17.  
  18. PPPPAAAARRRRAAAAMMMMEEEETTTTEEEERRRRSSSS
  19.      _i_n_F_o_n_t    Specifies a font.
  20.  
  21.      _i_n_A_t_t_r_i_b  Specifies the string list from which a string is requested.
  22.  
  23.      _i_n_I_n_d_e_x   Specifies the offset from the first element of the list
  24.                associated with _i_n_A_t_t_r_i_b.
  25.  
  26.  
  27. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  28.      ggggllllccccGGGGeeeettttFFFFoooonnnnttttLLLLiiiissssttttcccc returns an attribute of _i_n_F_o_n_t that's a string from a
  29.      string list identified by _i_n_A_t_t_r_i_b. The command returns the string at
  30.      offset _i_n_I_n_d_e_x from the first element in _i_n_A_t_t_r_i_b. For example, if _i_n_F_o_n_t
  31.      has a face list (Regular, Bold, Italic) and _i_n_I_n_d_e_x is 2, then
  32.      ggggllllccccGGGGeeeettttFFFFoooonnnnttttLLLLiiiissssttttcccc returns Italic if you query for GGGGLLLLCCCC____FFFFAAAACCCCEEEE____LLLLIIIISSSSTTTT.
  33.  
  34.      Every GLC state variable that is a list has an associated integer element
  35.      count whose value is the number of elements in the list.
  36.  
  37.      Below are the string list attributes associated with each GLC master and
  38.      font and their element count attributes:
  39.  
  40.      String list attribute    Element count
  41.  
  42.      GGGGLLLLCCCC____CCCCHHHHAAAARRRR____LLLLIIIISSSSTTTT            GGGGLLLLCCCC____CCCCHHHHAAAARRRR____CCCCOOOOUUUUNNNNTTTT
  43.  
  44.      GGGGLLLLCCCC____FFFFAAAACCCCEEEE____LLLLIIIISSSSTTTT            GGGGLLLLCCCC____FFFFAAAACCCCEEEE____CCCCOOOOUUUUNNNNTTTT
  45.  
  46. EEEERRRRRRRROOOORRRRSSSS
  47.      GGGGLLLLCCCC____PPPPAAAARRRRAAAAMMMMEEEETTTTEEEERRRR____EEEERRRRRRRROOOORRRR is generated if _i_n_F_o_n_t is not the ID of a font.
  48.  
  49.      GGGGLLLLCCCC____PPPPAAAARRRRAAAAMMMMEEEETTTTEEEERRRR____EEEERRRRRRRROOOORRRR is generated if _i_n_I_n_d_e_x is less than zero or is
  50.      greater than or equal to the value of the list's element count.
  51.  
  52.      GGGGLLLLCCCC____SSSSTTTTAAAATTTTEEEE____EEEERRRRRRRROOOORRRR is generated if the issuing thread has no current GLC
  53.      context.
  54.  
  55. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  56.      ggggllllccccGGGGeeeettttFFFFoooonnnnttttcccc, ggggllllccccGGGGeeeettttFFFFoooonnnnttttiiii
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.